package com.xyauto.theme.network

import com.xyauto.theme.BuildConfig
import com.xyauto.theme.network.service.ApiService
import retrofit2.Retrofit

/**
 * Created by gongziyi on 2021/5/13 17:58.
 */
object ApiCommon {

    private val retrofit: Retrofit by lazy {
        ApiHelper.getRetrofit(BuildConfig.BASE_URL)
    }

    val commonService: ApiService by lazy {
        retrofit.create(ApiService::class.java)
    }

}